package be.telio.freeagent.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;

@XmlRootElement(name = "timeslip")
public class FATimeSlip
{
    @XmlElement(name = "id")
    private Integer id;
    @XmlElement(name = "dated-on")
    private Date datedOn;
    @XmlElement(name = "project-id")
    private Integer projectId;
    @XmlElement(name = "task-id")
    private Integer taskId;
    @XmlElement(name = "user-id")
    private Integer userId;
    @XmlElement(name = "hours")
    private Double hours;
    @XmlElement(name = "comment")
    private String comment;
    @XmlElement(name = "status")
    private String status;

    public Integer getId()
    {
        return id;
    }

    public Date getDatedOn()
    {
        return datedOn;
    }

    public Integer getProjectId()
    {
        return projectId;
    }

    public Integer getTaskId()
    {
        return taskId;
    }

    public Integer getUserId()
    {
        return userId;
    }

    public Double getHours()
    {
        return hours;
    }

    public String getComment()
    {
        return comment;
    }

    public String getStatus()
    {
        return status;
    }
}
